<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const arr = ["2023-12-21", "2024-11-30", "2024-5-6"];

      const arrObj = [
        { year: 2023, month: 12, day: 21 },
        { year: 2024, month: 11, day: 30 },
        { year: 2024, month: 5, day: 6 },
      ];

      const arrObjSort = [
        { year: 2023, month: 12, day: 21 },
        { year: 2024, month: 5, day: 6 },
        { year: 2024, month: 11, day: 30 },
      ];
    </script>
  </body>
</html>
